package com.zbkj.crmeb.store.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.crmeb.store.model.StoreBrand;
import com.zbkj.crmeb.store.request.StoreBrandRequest;
import com.zbkj.crmeb.store.response.StoreBrandResponse;

import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 品牌
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-05-28
 */
@Mapper
public interface StoreBrandDao extends BaseMapper<StoreBrand> {

    List<Integer> brandIdlist(@Param("brandName") String brandName);
    
    List<StoreBrandResponse> pageEntity(@Param("condition") StoreBrandRequest storeBrandRequest);
    
    StoreBrandResponse getEntity(@Param("id") Integer id);

    void updateList(List<Map<String, Object>> list);
}
